package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_FinanceSalaryTotal", catalog="Id")
public class TcwFinanceSalaryTotal extends BaseEntity<TcwFinanceSalaryTotal> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="CountMonth", nameJava="countMonth", typeDataBase="char")
	private String countMonth;
	@YsField(nameDataBase="OrgId", nameJava="orgId", typeDataBase="varchar")
	private String orgId;
	@YsField(nameDataBase="DeptName", nameJava="deptName", typeDataBase="varchar")
	private String deptName;
	@YsField(nameDataBase="DeptType", nameJava="deptType", typeDataBase="tinyint")
	private Integer deptType;
	@YsField(nameDataBase="WagesPay", nameJava="wagesPay", typeDataBase="decimal")
	private BigDecimal wagesPay;
	@YsField(nameDataBase="OtherCost", nameJava="otherCost", typeDataBase="decimal")
	private BigDecimal otherCost;
	@YsField(nameDataBase="WagesAmount", nameJava="wagesAmount", typeDataBase="decimal")
	private BigDecimal wagesAmount;
	@YsField(nameDataBase="RetirementCompany", nameJava="retirementCompany", typeDataBase="decimal")
	private BigDecimal retirementCompany;
	@YsField(nameDataBase="RetirementPersonal", nameJava="retirementPersonal", typeDataBase="decimal")
	private BigDecimal retirementPersonal;
	@YsField(nameDataBase="LoseWorkCompany", nameJava="loseWorkCompany", typeDataBase="decimal")
	private BigDecimal loseWorkCompany;
	@YsField(nameDataBase="LoseWorkPersonal", nameJava="loseWorkPersonal", typeDataBase="decimal")
	private BigDecimal loseWorkPersonal;
	@YsField(nameDataBase="InjuryCompany", nameJava="injuryCompany", typeDataBase="decimal")
	private BigDecimal injuryCompany;
	@YsField(nameDataBase="HealthCompany", nameJava="healthCompany", typeDataBase="decimal")
	private BigDecimal healthCompany;
	@YsField(nameDataBase="HealthPersonal", nameJava="healthPersonal", typeDataBase="decimal")
	private BigDecimal healthPersonal;
	@YsField(nameDataBase="BirthCompany", nameJava="birthCompany", typeDataBase="decimal")
	private BigDecimal birthCompany;
	@YsField(nameDataBase="AccumulationFundCompany", nameJava="accumulationFundCompany", typeDataBase="decimal")
	private BigDecimal accumulationFundCompany;
	@YsField(nameDataBase="AccumulationFundPersonal", nameJava="accumulationFundPersonal", typeDataBase="decimal")
	private BigDecimal accumulationFundPersonal;
	@YsField(nameDataBase="PersonalTax", nameJava="personalTax", typeDataBase="decimal")
	private BigDecimal personalTax;
	@YsField(nameDataBase="PersonalTaxAdjust", nameJava="personalTaxAdjust", typeDataBase="decimal")
	private BigDecimal personalTaxAdjust;
	@YsField(nameDataBase="RealityPaySlip", nameJava="realityPaySlip", typeDataBase="decimal")
	private BigDecimal realityPaySlip;
	@YsField(nameDataBase="AccumulationFundTotal", nameJava="accumulationFundTotal", typeDataBase="decimal")
	private BigDecimal accumulationFundTotal;
	@YsField(nameDataBase="SoseTotal", nameJava="soseTotal", typeDataBase="decimal")
	private BigDecimal soseTotal;
	@YsField(nameDataBase="MiTotal", nameJava="miTotal", typeDataBase="decimal")
	private BigDecimal miTotal;
	@YsField(nameDataBase="SoseBase", nameJava="soseBase", typeDataBase="decimal")
	private BigDecimal soseBase;
	@YsField(nameDataBase="MiBase", nameJava="miBase", typeDataBase="decimal")
	private BigDecimal miBase;
	@YsField(nameDataBase="HousingPfBase", nameJava="housingPfBase", typeDataBase="decimal")
	private BigDecimal housingPfBase;
	@YsField(nameDataBase="CountType", nameJava="countType", typeDataBase="tinyint")
	private Integer countType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwFinanceSalaryTotal setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCountMonth() {
		return countMonth;
	}
	public TcwFinanceSalaryTotal setCountMonth(String countMonth) {
		this.countMonth = countMonth;
		return this;
	}
	public String getOrgId() {
		return orgId;
	}
	public TcwFinanceSalaryTotal setOrgId(String orgId) {
		this.orgId = orgId;
		return this;
	}
	public String getDeptName() {
		return deptName;
	}
	public TcwFinanceSalaryTotal setDeptName(String deptName) {
		this.deptName = deptName;
		return this;
	}
	public Integer getDeptType() {
		return deptType;
	}
	public TcwFinanceSalaryTotal setDeptType(Integer deptType) {
		this.deptType = deptType;
		return this;
	}
	public BigDecimal getWagesPay() {
		return wagesPay;
	}
	public TcwFinanceSalaryTotal setWagesPay(BigDecimal wagesPay) {
		this.wagesPay = wagesPay;
		return this;
	}
	public BigDecimal getOtherCost() {
		return otherCost;
	}
	public TcwFinanceSalaryTotal setOtherCost(BigDecimal otherCost) {
		this.otherCost = otherCost;
		return this;
	}
	public BigDecimal getWagesAmount() {
		return wagesAmount;
	}
	public TcwFinanceSalaryTotal setWagesAmount(BigDecimal wagesAmount) {
		this.wagesAmount = wagesAmount;
		return this;
	}
	public BigDecimal getRetirementCompany() {
		return retirementCompany;
	}
	public TcwFinanceSalaryTotal setRetirementCompany(BigDecimal retirementCompany) {
		this.retirementCompany = retirementCompany;
		return this;
	}
	public BigDecimal getRetirementPersonal() {
		return retirementPersonal;
	}
	public TcwFinanceSalaryTotal setRetirementPersonal(BigDecimal retirementPersonal) {
		this.retirementPersonal = retirementPersonal;
		return this;
	}
	public BigDecimal getLoseWorkCompany() {
		return loseWorkCompany;
	}
	public TcwFinanceSalaryTotal setLoseWorkCompany(BigDecimal loseWorkCompany) {
		this.loseWorkCompany = loseWorkCompany;
		return this;
	}
	public BigDecimal getLoseWorkPersonal() {
		return loseWorkPersonal;
	}
	public TcwFinanceSalaryTotal setLoseWorkPersonal(BigDecimal loseWorkPersonal) {
		this.loseWorkPersonal = loseWorkPersonal;
		return this;
	}
	public BigDecimal getInjuryCompany() {
		return injuryCompany;
	}
	public TcwFinanceSalaryTotal setInjuryCompany(BigDecimal injuryCompany) {
		this.injuryCompany = injuryCompany;
		return this;
	}
	public BigDecimal getHealthCompany() {
		return healthCompany;
	}
	public TcwFinanceSalaryTotal setHealthCompany(BigDecimal healthCompany) {
		this.healthCompany = healthCompany;
		return this;
	}
	public BigDecimal getHealthPersonal() {
		return healthPersonal;
	}
	public TcwFinanceSalaryTotal setHealthPersonal(BigDecimal healthPersonal) {
		this.healthPersonal = healthPersonal;
		return this;
	}
	public BigDecimal getBirthCompany() {
		return birthCompany;
	}
	public TcwFinanceSalaryTotal setBirthCompany(BigDecimal birthCompany) {
		this.birthCompany = birthCompany;
		return this;
	}
	public BigDecimal getAccumulationFundCompany() {
		return accumulationFundCompany;
	}
	public TcwFinanceSalaryTotal setAccumulationFundCompany(BigDecimal accumulationFundCompany) {
		this.accumulationFundCompany = accumulationFundCompany;
		return this;
	}
	public BigDecimal getAccumulationFundPersonal() {
		return accumulationFundPersonal;
	}
	public TcwFinanceSalaryTotal setAccumulationFundPersonal(BigDecimal accumulationFundPersonal) {
		this.accumulationFundPersonal = accumulationFundPersonal;
		return this;
	}
	public BigDecimal getPersonalTax() {
		return personalTax;
	}
	public TcwFinanceSalaryTotal setPersonalTax(BigDecimal personalTax) {
		this.personalTax = personalTax;
		return this;
	}
	public BigDecimal getPersonalTaxAdjust() {
		return personalTaxAdjust;
	}
	public TcwFinanceSalaryTotal setPersonalTaxAdjust(BigDecimal personalTaxAdjust) {
		this.personalTaxAdjust = personalTaxAdjust;
		return this;
	}
	public BigDecimal getRealityPaySlip() {
		return realityPaySlip;
	}
	public TcwFinanceSalaryTotal setRealityPaySlip(BigDecimal realityPaySlip) {
		this.realityPaySlip = realityPaySlip;
		return this;
	}
	public BigDecimal getAccumulationFundTotal() {
		return accumulationFundTotal;
	}
	public TcwFinanceSalaryTotal setAccumulationFundTotal(BigDecimal accumulationFundTotal) {
		this.accumulationFundTotal = accumulationFundTotal;
		return this;
	}
	public BigDecimal getSoseTotal() {
		return soseTotal;
	}
	public TcwFinanceSalaryTotal setSoseTotal(BigDecimal soseTotal) {
		this.soseTotal = soseTotal;
		return this;
	}
	public BigDecimal getMiTotal() {
		return miTotal;
	}
	public TcwFinanceSalaryTotal setMiTotal(BigDecimal miTotal) {
		this.miTotal = miTotal;
		return this;
	}
	public BigDecimal getSoseBase() {
		return soseBase;
	}
	public TcwFinanceSalaryTotal setSoseBase(BigDecimal soseBase) {
		this.soseBase = soseBase;
		return this;
	}
	public BigDecimal getMiBase() {
		return miBase;
	}
	public TcwFinanceSalaryTotal setMiBase(BigDecimal miBase) {
		this.miBase = miBase;
		return this;
	}
	public BigDecimal getHousingPfBase() {
		return housingPfBase;
	}
	public TcwFinanceSalaryTotal setHousingPfBase(BigDecimal housingPfBase) {
		this.housingPfBase = housingPfBase;
		return this;
	}
	public Integer getCountType() {
		return countType;
	}
	public TcwFinanceSalaryTotal setCountType(Integer countType) {
		this.countType = countType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwFinanceSalaryTotal setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwFinanceSalaryTotal setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwFinanceSalaryTotal setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwFinanceSalaryTotal tcwFinanceSalaryTotal(
		String countMonth,
		String orgId,
		String deptName,
		Integer deptType,
		BigDecimal wagesPay,
		BigDecimal otherCost,
		BigDecimal wagesAmount,
		BigDecimal retirementCompany,
		BigDecimal retirementPersonal,
		BigDecimal loseWorkCompany,
		BigDecimal loseWorkPersonal,
		BigDecimal injuryCompany,
		BigDecimal healthCompany,
		BigDecimal healthPersonal,
		BigDecimal birthCompany,
		BigDecimal accumulationFundCompany,
		BigDecimal accumulationFundPersonal,
		BigDecimal personalTax,
		BigDecimal personalTaxAdjust,
		BigDecimal realityPaySlip,
		BigDecimal accumulationFundTotal,
		BigDecimal soseTotal,
		BigDecimal miTotal,
		BigDecimal soseBase,
		BigDecimal miBase,
		BigDecimal housingPfBase,
		Integer countType,
		Integer status
			) {
		TcwFinanceSalaryTotal entity = new TcwFinanceSalaryTotal();
		entity.setCountMonth(countMonth);
		entity.setOrgId(orgId);
		entity.setDeptName(deptName);
		entity.setDeptType(deptType);
		entity.setWagesPay(wagesPay);
		entity.setOtherCost(otherCost);
		entity.setWagesAmount(wagesAmount);
		entity.setRetirementCompany(retirementCompany);
		entity.setRetirementPersonal(retirementPersonal);
		entity.setLoseWorkCompany(loseWorkCompany);
		entity.setLoseWorkPersonal(loseWorkPersonal);
		entity.setInjuryCompany(injuryCompany);
		entity.setHealthCompany(healthCompany);
		entity.setHealthPersonal(healthPersonal);
		entity.setBirthCompany(birthCompany);
		entity.setAccumulationFundCompany(accumulationFundCompany);
		entity.setAccumulationFundPersonal(accumulationFundPersonal);
		entity.setPersonalTax(personalTax);
		entity.setPersonalTaxAdjust(personalTaxAdjust);
		entity.setRealityPaySlip(realityPaySlip);
		entity.setAccumulationFundTotal(accumulationFundTotal);
		entity.setSoseTotal(soseTotal);
		entity.setMiTotal(miTotal);
		entity.setSoseBase(soseBase);
		entity.setMiBase(miBase);
		entity.setHousingPfBase(housingPfBase);
		entity.setCountType(countType);
		entity.setStatus(status);
		return entity;
	}
}